package com.kfm.hotel.service;

import cn.hutool.core.lang.tree.Tree;
import com.kfm.hotel.domain.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author 10854
* @description 针对表【sys_menu(菜单表)】的数据库操作Service
* @createDate 2023-06-16 10:59:07
*/
public interface SysMenuService extends IService<SysMenu> {

    List<SysMenu> getAllMenusByTree();

    List<SysMenu> getAllMenusByTree2();

    List<Tree<Integer>> getTreeMenuWithHutool(Integer userId);

    List<SysMenu> getAllMenusByUserId(Integer userId);


    List<Tree<Integer>> grantTreeMenu();

    List<Object> extracted(Integer roleId);
}
